package com.ihg.hiex.admin.entity.dto;

/**
 * 
 * @author dan
 *
 */
public class OverallEvaluation {
    
    private long amount;
    
    private int score;
    
    /**
     * 
     */
    public OverallEvaluation() {
        
    }
    
    /**
     * 
     * @param amount
     * @param score
     */
    public OverallEvaluation(long amount, int score) {
        this.amount = amount;
        this.score = score;
    }
    
    /**
     * 
     * @return
     */
    public String getName() {
        String scoreType = score == 1 ? "DN" : score == 3 ? "C" : "S";
        return amount + scoreType;
    }

    /**
     * @return the amount
     */
    public long getAmount() {
        return amount;
    }

    /**
     * @return the score
     */
    public int getScore() {
        return score;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(long amount) {
        this.amount = amount;
    }

    /**
     * @param score the score to set
     */
    public void setScore(int score) {
        this.score = score;
    }

}
